package com.cysion.study.entity

import com.contrarywind.interfaces.IPickerViewData

/**
 * Created by chu on 2019-07-31.
 */
//存放省以及所属市
data class AddressBean(
    val id: String,
    val name: String,
    val citys: MutableList<CityBean>
)

//存放市以及所属辖区
data class CityBean(
    val id: String,
    val name: String,
    val countys: MutableList<AddressInfoPO>
)

//用于显示PickerView显示
data class AddressInfoPO(
    //地区编码
    val id: String,
    //地区名称
    val name: String
) : IPickerViewData {
    override fun getPickerViewText(): String = name
}